package vehicleEntity;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

/**
 * Sashiraj Dhanarajan
 */
public class AvailableVehicleDisplayable {
	private SimpleIntegerProperty vehicleId;
	private SimpleStringProperty regNo;
	private SimpleStringProperty vin;
	private SimpleStringProperty vehicleType;
	private SimpleStringProperty vehicleClass;
	private SimpleStringProperty vehicleName;
	private SimpleStringProperty availableDate;
	public AvailableVehicleDisplayable(int a,String b,String c,String d,String dt)
	{
		vehicleId = new SimpleIntegerProperty(a);
		vehicleType= new SimpleStringProperty(b);
		vehicleClass= new SimpleStringProperty(c);
		vehicleName= new SimpleStringProperty(d);
		availableDate = new SimpleStringProperty(dt);
	}
	public String getAvailableDate() {
		return availableDate.getValue();
	}
	public void setAvailableDate(SimpleStringProperty availableDate) {
		this.availableDate = availableDate;
	}

	
	public AvailableVehicleDisplayable(int a,String b,String c,String d )
	{
		vehicleId = new SimpleIntegerProperty(a);
		vehicleType= new SimpleStringProperty(b);
		vehicleClass= new SimpleStringProperty(c);
		vehicleName= new SimpleStringProperty(d);
	}

	public int getVehicleId() {
		return vehicleId.getValue();
	}
	public void setVehicleId(SimpleIntegerProperty vehicleId) {
		this.vehicleId = vehicleId;
	}
	public String getRegNo() {
		return regNo.getValue();
	}
	public void setRegNo(SimpleStringProperty regNo) {
		this.regNo = regNo;
	}
	public String getVin() {
		return vin.getValue();
	}
	public void setVin(SimpleStringProperty vin) {
		this.vin = vin;
	}
	public String getVehicleType() {
		return vehicleType.getValue();
	}
	public void setVehicleType(SimpleStringProperty vehicleType) {
		this.vehicleType = vehicleType;
	}
	public String getVehicleClass() {
		return vehicleClass.getValue();
	}
	public void setVehicleClass(SimpleStringProperty vehicleClass) {
		this.vehicleClass = vehicleClass;
	}
	public String getVehicleName() {
		return vehicleName.getValue();
	}
	public void setVehicleName(SimpleStringProperty vehicleName) {
		this.vehicleName = vehicleName;
	}
}
